﻿<%@ Page Title="Register" Language="C#" MasterPageFile="~/MasterPages/SiteMaster.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="PRJ_LDW_Eutoliso.Account.Register" %>


<asp:Content ID="Content2" ContentPlaceHolderID="headScript" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body_pre_central" runat="server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="body_central" runat="server">


    <!-- Start Full Width -->
    <div class="boxes-full">

        <div class="contacttitle">

            <h2>Novo Cadastro de Utilizador</h2>

        </div>

        <div class="boxes-padding fullpadding">

            <div id="contactwarning"></div>
            <div id="contactajax"></div>



            <div class="contacttextarea">


                <asp:CreateUserWizard runat="server" ID="RegisterUser" ViewStateMode="Disabled" OnCreatedUser="RegisterUser_CreatedUser">
                    <LayoutTemplate>
                        <asp:PlaceHolder runat="server" ID="wizardStepPlaceholder" />
                        <asp:PlaceHolder runat="server" ID="navigationPlaceholder" />
                    </LayoutTemplate>
                    <WizardSteps>
                        <asp:CreateUserWizardStep runat="server" ID="RegisterUserWizardStep">
                            <ContentTemplate>

                                <p>
                                    <h2>Será um prazer tê-lo como mais um "liso" em nosso site!</h2>
                                </p>

                                <br />

                                <p class="validation-summary-errors">
                                    <asp:Literal runat="server" ID="ErrorMessage" />
                                </p>

                                <fieldset>

                                    <table>
                                        <tr>
                                            <td>
                                                <h3>
                                                    <asp:Label ID="Label1" runat="server" AssociatedControlID="UserName">Utilizador</asp:Label>
                                                </h3>
                                            </td>
                                            <td>
                                                <asp:TextBox runat="server" ID="UserName" CssClass="contacttextform" Width="400" />
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td>
                                                <h3>
                                                    <asp:Label ID="Label2" runat="server" AssociatedControlID="Email">Email</asp:Label>
                                                </h3>
                                            </td>
                                            <td>
                                                <asp:TextBox runat="server" ID="Email" CssClass="contacttextform" Width="400" />
                                            </td>
                                        </tr>

                                        <tr>
                                            <td>
                                                <h3>
                                                    <asp:Label ID="Label3" runat="server" AssociatedControlID="Password">Senha</asp:Label>
                                                </h3>
                                            </td>
                                            <td>
                                                <asp:TextBox runat="server" ID="Password" TextMode="Password" CssClass="contacttextform" Width="400" />
                                            </td>
                                        </tr>

                                        <tr>
                                            <td>
                                                <h3>
                                                    <asp:Label ID="Label4" runat="server" AssociatedControlID="ConfirmPassword">Confirmar senha</asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox runat="server" ID="ConfirmPassword" TextMode="Password" CssClass="contacttextform" Width="400" />
                                            </td>
                                        </tr>
                                    </table>

                                    <br />
                                    <table>
                                        <tr>
                                            <td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    
                                                 <asp:LinkButton ID="Button1" runat="server" CommandName="MoveNext" Text="Registrar" CssClass="smallrectange whitebutton"/>
                                            </td>
                                        </tr>
                                    </table>
                                    
                                    <%--<p class="message-info">
                                        Passwords are required to be a minimum of <%: Membership.MinRequiredPasswordLength %> characters in length.
                                    </p>--%>

                                   


                                    <br />
                                    <br />
                                    <h3><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserName"
                                        CssClass="field-validation-error" ErrorMessage="O campo utilizador precisa ser preenchido." /></h3>

                                    <br />
                                    <h3><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Email"
                                        CssClass="field-validation-error" ErrorMessage="O campo email precisa ser preenchido." /></h3>

                                    <br />

                                    <h3><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Password"
                                        CssClass="field-validation-error" ErrorMessage="A senha precisa ser preenchida." /></h3>

                                    <br />

                                    <h3><asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="ConfirmPassword"
                                        CssClass="field-validation-error" Display="Dynamic" ErrorMessage="A confirmação da senha precisa ser preenchida." /></h3>
                                    <h3><asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="Password" ControlToValidate="ConfirmPassword"
                                        CssClass="field-validation-error" Display="Dynamic" ErrorMessage="As senhas inseridas não são correspondentes." /></h3>


                                </fieldset>
                            </ContentTemplate>
                            <CustomNavigationTemplate />
                        </asp:CreateUserWizardStep>
                    </WizardSteps>
                </asp:CreateUserWizard>


            </div>

            <div class="contacttextboxes">

                <br /> 
                <img src="/App_Themes/Eutoliso/images/employee_add-256.png" alt="" />





            </div>

        </div>

        <%--<span class="box-arrow"></span>--%>

    </div>
    <!-- End Full Width -->


</asp:Content>
